package auto.domain;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("VEHICLE_IN_CATALOG")
public class VehicleInCatalog extends Vehicle {
private int readyTime;

public VehicleInCatalog(String brand, String color, String power,
		String category, String model, float unitPrice, String description,
		int readyTime) {
	super(brand, color, power, category, model, unitPrice, description);
	this.readyTime = readyTime;
}
@Column(name="READY_TIME")
public int getReadyTime() {
	return readyTime;
}

public void setReadyTime(int readyTime) {
	this.readyTime = readyTime;
}

}
